package com.example.gulimall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.utils.PageUtils;
import com.example.gulimall.member.entity.MemberEntity;
import com.example.gulimall.member.vo.MemberRegistVo;
import com.example.gulimall.member.vo.MemberUserLoginVo;
import com.example.gulimall.member.vo.SocialUser;

import java.util.Map;

/**
 * 会员
 *
 * @author lizhichao
 * @email sunlightcs@gmail.com
 * @date 2021-08-21 16:16:09
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void regist(MemberRegistVo registVo);

    MemberEntity login(MemberUserLoginVo vo);

    MemberEntity login(SocialUser vo) throws Exception;
}

